package fdb

import javax.xml.soap.Text

class FND_GEN_INFO {
    int innerCode
    int fundId
  //  void label0101
    String fundCode
    String engName
    String isin
    String szseCode
    String shseCode
    String applBuyCodeFront
    String applBuyCodeBack
    String fundsName
    String chiAddr
    String fundsName2
    String chiSpell2
    String engAbbr
    String fundName
    long fndBrief
    int fndtype
    int    ifInnovative
    int    orgCode
    int    manaCode
    String manaName
    int   trupCode
    String    trupName
    int    curancyCls
    int    tradeMkt
    int   curancyDistilCls
    int  incomeConvShareCls
    int  ifUmbreFund
    int  iftranFund
  //  void  label0102
    Date  estabDate
    Date  listDate
    Date  fundMatu
    String duration
    int   fundStatus
    Date initEstabDate
    int  invstQual
    int  invstType
    int  invstStyle
    String mktCode
    String sznetCode
    String shnetCode

    static constraints = {

         fundId  nullable:true
        // label0101  nullable:true
         fundCode  maxSize: 12
         engName  nullable:true, maxSize: 200
         isin  nullable:true, maxSize: 12
         szseCode  nullable:true, maxSize: 12
         shseCode nullable:true, maxSize: 12
         applBuyCodeBack  nullable:true, maxSize: 12
         fundsName  nullable:true, maxSize: 30
         chiAddr  nullable:true, maxSize: 20
         fundsName2  nullable:true, maxSize: 40
         chiSpell2  nullable:true, maxSize: 20
         engAbbr  nullable:true , maxSize: 100
         fundName  nullable:true, maxSize: 80
         fndBrief  nullable:true
         fndtype  nullable:true
            ifInnovative  nullable:true
            orgCode  nullable:true
            manaCode  nullable:true
         manaName  nullable:true, maxSize: 200
           trupCode  nullable:true
            trupName  nullable:true, maxSize: 200
            curancyCls  nullable:true
            tradeMkt  nullable: true
           curancyDistilCls  nullable:true
          incomeConvShareCls  nullable:true
          ifUmbreFund  nullable:true
          iftranFund  nullable:true
        //  label0102  nullable:true
          estabDate  nullable:true
          listDate  nullable:true
          fundMatu  nullable:true
         duration nullable:true,size: 4..9
           fundStatus  nullable:true
         initEstabDate  nullable:true
          invstQual  nullable:true
          invstType  nullable:true
          invstStyle  nullable:true
         mktCode  nullable:true, maxSize: 12
         sznetCode  nullable:true, maxSize: 12
         shnetCode  nullable:true, maxSize: 12

    }
    static mapping = {
        id generator: 'assigned', name: "innerCode", column: "INNERCODE"

    }
}
